package com.wgspring.mapper;


import com.wgspring.model.Photograph;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhotographMapper {

    Photograph selectPhotographById(String id);

    void insertPhotograph(Photograph photograph);

    Photograph selectOnePhotographBeforeTime(Long time);

    List<Photograph> selectPhotographsByTime(@Param("start") long start,@Param("end") long end);
}
